﻿using WidgetsDesign.API.Models;

namespace WidgetsDesign.API.Services
{
    public interface IEmployeeRepository
    {
        Task<IEnumerable<EmployeeModel>> GetEmployeesList(int pageIndex, int pageSize);

        int GetEmployeesListTotal();

        void AddEmployees(EmployeeModel model);

        Task<bool> SaveAsync();

        Task<EmployeeModel> GetEmployeesListAsync(string id);

        void UpdateEmployees(EmployeeModel model);

        bool DeleteEmployees(string id);

        Task<EmployeeModel> GetEmployees(string id);
    }
}
